package com.dm.yyxr.pojo.dto;

import lombok.Data;

@Data
public class AdminDto {
    Integer admin_code;
    String admin_name;
    String admin_passwd;
    Integer admin_type;
    String area;


    //获取管理员类型
    public String getAdmin_type() {
        if(admin_type==1){
            return "总局";
        }else if(admin_type==2){
            return "分局";
        }else{
            return "暂无";
        }
    }
}
